<!DOCTYPE html>
<html>

	<head>
		<meta charset="UTF-8">
		<title></title>
		<link rel="stylesheet" type="text/css" href="../layui/dist/css/layui.css" />
	</head>

	<body>
		<script src="../layui/dist/layui.all.js" type="text/javascript" charset="utf-8"></script>

		<script>
			//由于模块都一次性加载，因此不用执行 layui.use() 来加载对应模块，直接使用即可：
			;!function(){
			  var layer = layui.layer
			  ,form = layui.form;
			  
			  layer.msg('Hello World');
			}();
		</script> 
	</body>

</html>